package com.lzy.pattern.prototype;

/**
 * @ClassName: AwardTest
 * @Description: TODO
 * @Author: LiuZy
 * @Date: 2022/4/17 21:10
 * @Version: 1.0
 */
public class AwardTest {

    public static void main(String[] args) throws CloneNotSupportedException {

        Award award = new Award();

        Award award2 = award.clone();

        award.setName("木丁西");
        award2.setName("刘德华");

        award.show();
        award2.show();
    }

}